<%--
    Document   : view fragment for listing posts
    Created on : Mar 10, 2014, 10:54:45 PM
    Author     : Anton Strack
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<div>
    <p>
        <c:if test="${plotHierarchyRelationships != null && plotHierarchyRelationships.size() > 0}">
        <ul>
            <c:forEach items="${postRelationships}" var="postRelationship" >
                <li><a href="${req.contextPath}?action=view&resource=${fn:toLowerCase(postRelationship.getDerivedValue('ResourceTypeName'))}&id=${postRelationship.id}">${postRelationship.name}</a></li>
                </c:forEach>
        </ul>
    </c:if>
</p>
</div>

